import {SlTableProps, TableRowData} from '@/types/table';
import SlTable from '@/components/SlTable';

const UseTable = <T extends object = TableRowData>(options: SlTableProps<T>) => {
    return <SlTable<T> {...options}></SlTable>;
};

export default UseTable;
